package yh.thread.system.shardingtest.model;

import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;

/**
 * @author: zyh
 * @date: 2024/12/13 16:52
 **/
@TableName("lb_cms_recharge_record")
public class RechargeRecordDO {

    @TableId(value = "recharge_record_id", type = IdType.ASSIGN_ID)
    private String rechargeRecordId;

    private String careObjectId;

    private String orgId;

    private Byte rechargeType;

    private BigDecimal rechargeAmount;

    private BigDecimal consumptionAmount;

    private Long startTime;

    private Long endTime;

    private String rechargeSource;

    private String rechargeRemark;

    private Long createTime;

    private Long updateTime;

    private String createBy;

    private String updateBy;

    /**添加字段：充值途径 1：现场充值 2 线上充值*/
    private String  rechangeWay;

    public String getRechargeRecordId() {
        return rechargeRecordId;
    }

    public void setRechargeRecordId(String rechargeRecordId) {
        this.rechargeRecordId = rechargeRecordId;
    }

    public String getCareObjectId() {
        return careObjectId;
    }

    public void setCareObjectId(String careObjectId) {
        this.careObjectId = careObjectId;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public Byte getRechargeType() {
        return rechargeType;
    }

    public void setRechargeType(Byte rechargeType) {
        this.rechargeType = rechargeType;
    }

    public BigDecimal getRechargeAmount() {
        return rechargeAmount;
    }

    public void setRechargeAmount(BigDecimal rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    public BigDecimal getConsumptionAmount() {
        return consumptionAmount;
    }

    public void setConsumptionAmount(BigDecimal consumptionAmount) {
        this.consumptionAmount = consumptionAmount;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getRechargeSource() {
        return rechargeSource;
    }

    public void setRechargeSource(String rechargeSource) {
        this.rechargeSource = rechargeSource;
    }

    public String getRechargeRemark() {
        return rechargeRemark;
    }

    public void setRechargeRemark(String rechargeRemark) {
        this.rechargeRemark = rechargeRemark;
    }


    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getRechangeWay() {
        return rechangeWay;
    }

    public void setRechangeWay(String rechangeWay) {
        this.rechangeWay = rechangeWay;
    }

    @Override
    public String toString() {
        return "RechargeRecordDO{" +
                "rechargeRecordId='" + rechargeRecordId + '\'' +
                ", careObjectId='" + careObjectId + '\'' +
                ", orgId='" + orgId + '\'' +
                ", rechargeType=" + rechargeType +
                ", rechargeAmount=" + rechargeAmount +
                ", consumptionAmount=" + consumptionAmount +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", rechargeSource='" + rechargeSource + '\'' +
                ", rechargeRemark='" + rechargeRemark + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createBy='" + createBy + '\'' +
                ", updateBy='" + updateBy + '\'' +
                ", rechangeWay='" + rechangeWay + '\'' +
                '}';
    }
}
